@model SkautSIS.Users.ViewModels.EditSkautSisCoreExtSettingsViewModel

<fieldset>
    <legend>@T("SkautSIS Extended Settings")</legend>
    @if (Model.SkautIsUserNeeded)
    {
        <p class="warning">@T("You need to sign in using a SkautIS account in order to change these settings.")</p>
    }
    else
    {
        <div>
            @Html.LabelFor(m => m.ExtSettingsPart.UnitRegistrationNumber, T("Unit Registration Number"))
            @Html.TextBoxFor(m => m.ExtSettingsPart.UnitRegistrationNumber, new { @class = "text-small" })
            @Html.ValidationMessageFor(m => m.ExtSettingsPart.UnitRegistrationNumber, "*")
            <span class="hint">@T("Registration number of the organizational unit that this site belongs to.")</span>
        </div>
        <div>
            @Html.LabelFor(m => m.ExtSettingsPart.UnitDisplayName, T("Unit Name"))
            @Html.TextBoxFor(m => m.ExtSettingsPart.UnitDisplayName, new { @class = "text-medium", disabled="disabled" })
            <span class="hint">@T("Name of the organizational unit that this site belongs to.")</span>
        </div>
        <div>
            @Html.LabelFor(m => m.ExtSettingsPart.UnitTypeId, T("Unit Type Id"))
            @Html.TextBoxFor(m => m.ExtSettingsPart.UnitTypeId, new { @class = "text-medium", disabled="disabled" })
            <span class="hint">@T("Id of the type of the organizational unit that this site belongs to.")</span>
        </div>
    }
</fieldset>